<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>添加维护计划</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="../../layuiadmin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="../../layuiadmin/style/admin.css" media="all">
</head>
<body>
  <div class="layui-form addPlanFormW" lay-filter="layuiadmin-form-role" id="layuiadmin-form-role" style="margin: 20px">
    <div class="record-formtitle">基本信息</div>
    <div class="layui-row basicInfo form-row">
      <div class="layui-col-md6">
        <div class="layui-form-item">
            <label class="layui-form-label">站台名称:</label>
            <div class="layui-inline">
                <select name="stationName" id="stationList" lay-filter="stationListFilter">
                    <option value="">请选择</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">系统名称:</label>
            <div class="layui-inline">
                <select name="systemName" id="systemList" lay-filter='systemListFilter'>
                    <option value="">请选择</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">设备名称:</label>
            <div class="layui-inline">
                <input type="text" name="eventName" placeholder="请输入" autocomplete="off" class="layui-input"/>
             </div>
        </div>
      </div>
      <div class="layui-col-md6">
        <div class="layui-form-item">
            <label class="layui-form-label">专业:</label>
            <div class="layui-inline">
                <select name="doMain" id="majorList" lay-filter="majorListFilter">
                    <option value="">请选择</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">设备类型:</label>
            <div class="layui-inline">
                <select name="eventType" id="equipmentList" lay-filter="equipmentList">
                    <option value="">请选择</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">维修方式:</label>
            <div class="layui-inline">
                <input type="text" name="maintainWay" placeholder="请输入" autocomplete="off" class="layui-input" value="计划维修" disabled/>
            </div>
        </div>
      </div>
    </div>
    <div class="layui-form" lay-filter="layuiadmin-form-role" id="layuiadmin-form-role">
      <div class="record-formtitle">添加维修计划</div>
      <div class="layui-row form-row addPlanForm">
        <div class="layui-col-md6">
            <div class="layui-form-item">
                <label class="layui-form-label">首次维修计划日期</label>
                <div class="layui-inline">
                    <i class="layui-icon layui-icon-date"></i>
                    <input type="text" name="maintainfirstTime"   autocomplete="off" class="layui-input" id="firstRepairDate" style="padding-right: 30px">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">下次维护计划日期</label>
                <div class="layui-inline">
                    <i class="layui-icon layui-icon-date"></i>
                    <input type="text" name="maintainnextTime" autocomplete="off" class="layui-input" id="nextRepairDate">
                </div>
            </div>
            <!-- <div class="layui-form-item">
                <label class="layui-form-label">距离下次维护计划时间(天)</label>
                <div class="layui-inline">
                    <input type="text" name="maintainnextDay" autocomplete="off" class="layui-input">
                </div>
            </div> -->
            <div class="layui-form-item">
                <label class="layui-form-label">维修状态:</label>
                <div class="layui-inline">
                    <select name="statu" id="statusList" lay-filter="statusListFilter">
                        <option value="">请选择</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-form-item">
                <label class="layui-form-label">本次维护计划日期</label>
                <div class="layui-inline">
                    <i class="layui-icon layui-icon-date"></i>
                    <input type="text" name="maintainthisTime" autocomplete="off" class="layui-input" id="repairDate">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">距离下次维修计划间隔(天)</label>
                <div class="layui-inline">
                    <input type="text" name="intervalDay" autocomplete="off" class="layui-input" id="intervalDay">
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-form-item">
                    <label class="layui-form-label">是否维修计划 </label>
                    <div class="layui-inline">
                        <select name="isPlan" lay-verify="required">
                            <option value="1">是</option>
                            <option value="0">否</option>
                        </select>
                    </div>
                </div>
            </div>
          </div>
      </div>
    </div>
    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="layuiadmin-app-form-submit" id="layuiadmin-app-form-submit" value="确认添加">
        <input type="button" lay-submit lay-filter="layuiadmin-app-form-edit" id="layuiadmin-app-form-edit" value="确认编辑">
    </div>
  </div>
  <script src='../../layuiadmin/modules/jTools.js'></script>
  <script src="../../layuiadmin/layui/layui.js"></script>  
  <script>
     layui.config({
        base: '../../layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
        , my_send: '../myModules/my_send'
    }).use(['index', 'equipmentCom'], function () {})
  </script>
</body>
</html>